package com.gary.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 *  register-with-eureka: true 需要将服务注册到 eureka注册中心中 否则调用无法成功
 * @EnableFeignClients 启动Feign服务调用注解
 * @author pengrui
 * @date 2021/1/10 - 14:02
 */
@SpringBootApplication
@EnableFeignClients
public class OpenFeignOrder80 {
    public static void main(String[] args) {
        SpringApplication.run(OpenFeignOrder80.class, args);
    }
}
